package com.zccx.eth.utils;

import java.util.Random;

/**
 * Created by alway on 2016/11/10.
 */
public class SMSCode {
    private static Random random = new Random();
    public static String getSMSCode(){
        String code = "";
        for (int i = 0; i < 6 ; i++) {
            int num = random.nextInt(9);
            String str = num+"";
            code += str;
        }
        return code;
    }

}
